package cn.bestick.cblog.dmo;

import java.util.Date;

/**
 * 与article表字段一一对应
 * */
public class Article {
	private Integer id;
	private Integer categoryId;
	private Integer userId;
	private String title;
	private String content;
	private Date pubDate;
	private Integer clicks;
	private String remark;
	private String picture;
	private Integer isDraft;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getPubDate() {
		return pubDate;
	}

	public void setPubDate(Date pubDate) {
		this.pubDate = pubDate;
	}

	public Integer getClicks() {
		return clicks;
	}

	public void setClicks(Integer clicks) {
		this.clicks = clicks;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public Integer getIsDraft() {
		return isDraft;
	}

	public void setIsDraft(Integer isDraft) {
		this.isDraft = isDraft;
	}

	@Override
	public String toString() {
		return "Article [id=" + id + ", categoryId=" + categoryId + ", userId="
				+ userId + ", title=" + title + ", content=" + content
				+ ", pubDate=" + pubDate + ", clicks=" + clicks + ", remark="
				+ remark + ", picture=" + picture + ", isDraft=" + isDraft
				+ "]";
	}
}
